@charset "utf-8";
@import "common";

.web{
    .news{
        padding-top: 50px;
        .hot-news{
            .page-header{
                border: 0 none;
                color: #FF6B08;
            }
            
            .news-list{
                @media (min-width: 1000px){
                    .nl{
                        height: 180px;
                    }   
                }
                .nl{
                    border: 1px solid #eee;
                    position: relative;
                    &:hover{
                        opacity: .8;
                    }
                    img{
                        width: 100%;
                        height: 100%;
                        
                    }
                    .news-title{
                        line-height: 24px;
                        font-size: 1em;
                        padding: 10px 0;
                        margin-bottom: 0;
                        text-align: center;
                        position: absolute;
                        width: 99%;
                        height: 40px;
                        left: 2px;
                        bottom: 0;
                        background-color: rgba(0,0,0,0.6);
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space:nowrap;
                        color: white;
                        a{
                            color: #fff;
                            &:hover{
                                text-decoration: none;
                                color: #25B6A0;
                            }
                        }
                    }
                }
            }
        }
    }
    .news-cont{
        margin-top: 80px;
        .cont{
            margin-bottom: 30px;
            .cont-img{
                display: block;
                padding: 4px;
                margin-bottom: 20px;
                line-height: 1.42857143;
                background-color: #fff;
                border: 1px solid #ddd;
                border-radius: 4px;
                &:hover{
                    opacity: .8;
                }
                img{
                    width: 100%;
                }
            }
            .caption{
                h4{
                    margin-top: 0;
                   a{
                        color: #666;
                        &:hover{
                            color: #FF6900;
                            text-decoration: none;
                        }
                    } 
                }
                
                p{
                    font-size: 1em;
                    line-height: 25px;
                }
                .news-detail{
                    a{
                        color: #FF6900;
                        padding: 3px 20px;
                        border: solid 1px #FF6900;
                        border-radius: 15px;
                        float: right;
                        &:hover{
                            color: #ffffff;
                            background-color: #FF6900;
                            text-decoration: none;
                        }
                    }
                }
            }
        }
        .line{
            padding-top: 40px;
            margin-bottom: 15px;
            border-bottom: dashed 1px #D4D4D4;
        }
        .news-page{
            text-align: center;
            a{
                color: #5d5d5d;
                cursor: pointer;
                &:hover{
                    color: #fff;
                    background-color: #E34637;
                }
            }
            .active{
                color: #fff;
                background-color: #E34637;
            }
            @media(max-width: 355px){
                li{
                    a{
                        padding: 4px 7px;
                    }
                }
            }
        }
    }
    
}